.class Lcom/netease/newsreader/activity/NewsReader$45;
.super Ljava/lang/Thread;
.source "NewsReader.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/NewsReader;->refreshPicture()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/NewsReader;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/NewsReader;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    .line 4505
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 19

    .prologue
    .line 4508
    const-string v13, ""

    .line 4510
    .local v13, newestphotolisturl:Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$165(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    const-string v1, ""

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$165(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 4511
    :cond_0
    const-string v13, "http://c.3g.163.com/photo/api/list/0096/4GJ60096.json"

    .line 4515
    :goto_0
    const/16 v1, 0x7530

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v13, v1, v2}, Lcom/netease/newsreader/util/HttpUtils;->getResponseFromGetUrl(Ljava/lang/String;ILandroid/content/Context;)Ljava/lang/String;

    move-result-object v17

    .line 4516
    .local v17, rst:Ljava/lang/String;
    invoke-static/range {v17 .. v17}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 4517
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v1

    const/16 v2, 0x2b

    invoke-virtual {v1, v2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 4643
    :goto_1
    return-void

    .line 4513
    .end local v17           #rst:Ljava/lang/String;
    :cond_1
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "http://c.3g.163.com/photo/api/newlist/0096/4GJ60096/"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$165(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ".json"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    goto :goto_0

    .line 4521
    .restart local v17       #rst:Ljava/lang/String;
    :cond_2
    :try_start_0
    new-instance v12, Lorg/json/JSONArray;

    move-object/from16 v0, v17

    invoke-direct {v12, v0}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V

    .line 4523
    .local v12, jsonArray:Lorg/json/JSONArray;
    if-eqz v12, :cond_c

    invoke-virtual {v12}, Lorg/json/JSONArray;->length()I

    move-result v1

    const/4 v2, 0x1

    if-le v1, v2, :cond_c

    .line 4525
    new-instance v14, Ljava/util/ArrayList;

    invoke-direct {v14}, Ljava/util/ArrayList;-><init>()V

    .line 4526
    .local v14, newestphotosetlist:Ljava/util/List;,"Ljava/util/List<Lcom/netease/newsreader/bean/PhotosetListInfo;>;"
    const/4 v10, 0x0

    .line 4527
    .local v10, isfault:Z
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v1, v1, Lcom/netease/newsreader/activity/NewsReader;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v1}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V

    .line 4529
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$165(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_3

    const-string v1, ""

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$165(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_8

    .line 4530
    :cond_3
    const/4 v10, 0x1

    .line 4531
    const/4 v9, 0x0

    .local v9, index:I
    :goto_2
    invoke-virtual {v12}, Lorg/json/JSONArray;->length()I

    move-result v1

    if-lt v9, v1, :cond_5

    .line 4605
    :cond_4
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v1, v1, Lcom/netease/newsreader/activity/NewsReader;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v1}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V

    .line 4606
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v1, v1, Lcom/netease/newsreader/activity/NewsReader;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v1}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V

    .line 4607
    if-eqz v10, :cond_b

    .line 4609
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$92(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/Vector;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Vector;->clear()V

    .line 4610
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$92(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/Vector;

    move-result-object v1

    invoke-virtual {v1, v14}, Ljava/util/Vector;->addAll(Ljava/util/Collection;)Z

    .line 4611
    new-instance v15, Lcom/netease/newsreader/bean/PhotosetListInfo;

    invoke-direct {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;-><init>()V

    .line 4612
    .local v15, photosetinfo:Lcom/netease/newsreader/bean/PhotosetListInfo;
    const-string v1, ""

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setCover(Ljava/lang/String;)V

    .line 4613
    const-string v1, "0"

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setSetid(Ljava/lang/String;)V

    .line 4614
    const-string v1, ""

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setImgsum(Ljava/lang/String;)V

    .line 4615
    const-string v1, ""

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setSetname(Ljava/lang/String;)V

    .line 4616
    const-string v1, ""

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setScover(Ljava/lang/String;)V

    .line 4617
    const-string v1, ""

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setTcover(Ljava/lang/String;)V

    .line 4618
    const-string v1, ""

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setClientcover(Ljava/lang/String;)V

    .line 4619
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$92(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/Vector;

    move-result-object v1

    invoke-virtual {v1, v15}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z

    .line 4631
    .end local v15           #photosetinfo:Lcom/netease/newsreader/bean/PhotosetListInfo;
    :goto_3
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$92(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/Vector;

    move-result-object v1

    const/4 v3, 0x0

    invoke-virtual {v1, v3}, Ljava/util/Vector;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/netease/newsreader/bean/PhotosetListInfo;

    invoke-virtual {v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetid()Ljava/lang/String;

    move-result-object v1

    invoke-static {v2, v1}, Lcom/netease/newsreader/activity/NewsReader;->access$166(Lcom/netease/newsreader/activity/NewsReader;Ljava/lang/String;)V

    .line 4633
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v1

    const/16 v2, 0x29

    invoke-virtual {v1, v2}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_1

    .line 4640
    .end local v9           #index:I
    .end local v10           #isfault:Z
    .end local v12           #jsonArray:Lorg/json/JSONArray;
    .end local v14           #newestphotosetlist:Ljava/util/List;,"Ljava/util/List<Lcom/netease/newsreader/bean/PhotosetListInfo;>;"
    :catch_0
    move-exception v8

    .line 4641
    .local v8, ex:Ljava/lang/Exception;
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v1

    const/16 v2, 0x2d

    invoke-virtual {v1, v2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto/16 :goto_1

    .line 4534
    .end local v8           #ex:Ljava/lang/Exception;
    .restart local v9       #index:I
    .restart local v10       #isfault:Z
    .restart local v12       #jsonArray:Lorg/json/JSONArray;
    .restart local v14       #newestphotosetlist:Ljava/util/List;,"Ljava/util/List<Lcom/netease/newsreader/bean/PhotosetListInfo;>;"
    :cond_5
    :try_start_1
    new-instance v15, Lcom/netease/newsreader/bean/PhotosetListInfo;

    invoke-direct {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;-><init>()V

    .line 4535
    .restart local v15       #photosetinfo:Lcom/netease/newsreader/bean/PhotosetListInfo;
    invoke-virtual {v12, v9}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v11

    .line 4537
    .local v11, jobj:Lorg/json/JSONObject;
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->COVER:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setCover(Ljava/lang/String;)V

    .line 4538
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->SETID:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setSetid(Ljava/lang/String;)V

    .line 4539
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->IMGSUM:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setImgsum(Ljava/lang/String;)V

    .line 4540
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->SETNAME:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setSetname(Ljava/lang/String;)V

    .line 4541
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->SCOVER:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setScover(Ljava/lang/String;)V

    .line 4542
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->TCOVER:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setTcover(Ljava/lang/String;)V

    .line 4543
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->CLIENTCOVER:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setClientcover(Ljava/lang/String;)V

    .line 4544
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->DATETIME:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setDatetime(Ljava/lang/String;)V

    .line 4546
    invoke-interface {v14, v15}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 4548
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v1, v1, Lcom/netease/newsreader/activity/NewsReader;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 4549
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetid()Ljava/lang/String;

    move-result-object v2

    .line 4550
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetname()Ljava/lang/String;

    move-result-object v3

    .line 4551
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getClientcover()Ljava/lang/String;

    move-result-object v4

    .line 4552
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getImgsum()Ljava/lang/String;

    move-result-object v5

    .line 4553
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getDatetime()Ljava/lang/String;

    move-result-object v6

    const-string v7, ".0"

    const-string v18, ""

    move-object/from16 v0, v18

    invoke-virtual {v6, v7, v0}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v6

    const/4 v7, 0x1

    .line 4548
    invoke-static/range {v1 .. v7}, Lcom/netease/newsreader/db/DBUtils;->insertDataToPhotoListTable(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V

    .line 4555
    if-nez v9, :cond_6

    .line 4556
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetid()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/netease/newsreader/activity/NewsReader;->access$166(Lcom/netease/newsreader/activity/NewsReader;Ljava/lang/String;)V

    .line 4559
    :cond_6
    invoke-virtual {v12}, Lorg/json/JSONArray;->length()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-ne v9, v1, :cond_7

    .line 4560
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetid()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/netease/newsreader/activity/NewsReader;->access$110(Lcom/netease/newsreader/activity/NewsReader;Ljava/lang/String;)V

    .line 4531
    :cond_7
    add-int/lit8 v9, v9, 0x1

    goto/16 :goto_2

    .line 4565
    .end local v9           #index:I
    .end local v11           #jobj:Lorg/json/JSONObject;
    .end local v15           #photosetinfo:Lcom/netease/newsreader/bean/PhotosetListInfo;
    :cond_8
    invoke-virtual {v12}, Lorg/json/JSONArray;->length()I

    move-result v1

    add-int/lit8 v9, v1, -0x1

    .restart local v9       #index:I
    :goto_4
    if-ltz v9, :cond_4

    .line 4567
    new-instance v15, Lcom/netease/newsreader/bean/PhotosetListInfo;

    invoke-direct {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;-><init>()V

    .line 4568
    .restart local v15       #photosetinfo:Lcom/netease/newsreader/bean/PhotosetListInfo;
    invoke-virtual {v12, v9}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v11

    .line 4570
    .restart local v11       #jobj:Lorg/json/JSONObject;
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->COVER:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setCover(Ljava/lang/String;)V

    .line 4571
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->SETID:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setSetid(Ljava/lang/String;)V

    .line 4572
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->IMGSUM:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setImgsum(Ljava/lang/String;)V

    .line 4573
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->SETNAME:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setSetname(Ljava/lang/String;)V

    .line 4574
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->SCOVER:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setScover(Ljava/lang/String;)V

    .line 4575
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->TCOVER:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setTcover(Ljava/lang/String;)V

    .line 4576
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->CLIENTCOVER:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setClientcover(Ljava/lang/String;)V

    .line 4577
    sget-object v1, Lcom/netease/newsreader/bean/PhotosetListInfo;->DATETIME:Ljava/lang/String;

    invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15, v1}, Lcom/netease/newsreader/bean/PhotosetListInfo;->setDatetime(Ljava/lang/String;)V

    .line 4579
    if-nez v9, :cond_a

    .line 4581
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$165(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetid()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_9

    .line 4584
    const/4 v10, 0x1

    .line 4585
    invoke-interface {v14, v15}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 4586
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v1, v1, Lcom/netease/newsreader/activity/NewsReader;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 4587
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetid()Ljava/lang/String;

    move-result-object v2

    .line 4588
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetname()Ljava/lang/String;

    move-result-object v3

    .line 4589
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getClientcover()Ljava/lang/String;

    move-result-object v4

    .line 4590
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getImgsum()Ljava/lang/String;

    move-result-object v5

    .line 4591
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getDatetime()Ljava/lang/String;

    move-result-object v6

    const-string v7, ".0"

    const-string v18, ""

    move-object/from16 v0, v18

    invoke-virtual {v6, v7, v0}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v6

    const/4 v7, 0x1

    .line 4586
    invoke-static/range {v1 .. v7}, Lcom/netease/newsreader/db/DBUtils;->insertDataToPhotoListTable(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V

    .line 4565
    :cond_9
    :goto_5
    add-int/lit8 v9, v9, -0x1

    goto/16 :goto_4

    .line 4594
    :cond_a
    invoke-interface {v14, v15}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 4595
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v1, v1, Lcom/netease/newsreader/activity/NewsReader;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 4596
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetid()Ljava/lang/String;

    move-result-object v2

    .line 4597
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetname()Ljava/lang/String;

    move-result-object v3

    .line 4598
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getClientcover()Ljava/lang/String;

    move-result-object v4

    .line 4599
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getImgsum()Ljava/lang/String;

    move-result-object v5

    .line 4600
    invoke-virtual {v15}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getDatetime()Ljava/lang/String;

    move-result-object v6

    const-string v7, ".0"

    const-string v18, ""

    move-object/from16 v0, v18

    invoke-virtual {v6, v7, v0}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v6

    const/4 v7, 0x1

    .line 4595
    invoke-static/range {v1 .. v7}, Lcom/netease/newsreader/db/DBUtils;->insertDataToPhotoListTable(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V

    goto :goto_5

    .line 4622
    .end local v11           #jobj:Lorg/json/JSONObject;
    .end local v15           #photosetinfo:Lcom/netease/newsreader/bean/PhotosetListInfo;
    :cond_b
    new-instance v16, Ljava/util/ArrayList;

    invoke-direct/range {v16 .. v16}, Ljava/util/ArrayList;-><init>()V

    .line 4623
    .local v16, resetphotosetlist:Ljava/util/List;,"Ljava/util/List<Lcom/netease/newsreader/bean/PhotosetListInfo;>;"
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$92(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/Vector;

    move-result-object v1

    move-object/from16 v0, v16

    invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 4625
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$92(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/Vector;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Vector;->clear()V

    .line 4627
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$92(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/Vector;

    move-result-object v1

    invoke-virtual {v1, v14}, Ljava/util/Vector;->addAll(Ljava/util/Collection;)Z

    .line 4628
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$92(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/Vector;

    move-result-object v1

    move-object/from16 v0, v16

    invoke-virtual {v1, v0}, Ljava/util/Vector;->addAll(Ljava/util/Collection;)Z

    goto/16 :goto_3

    .line 4637
    .end local v9           #index:I
    .end local v10           #isfault:Z
    .end local v14           #newestphotosetlist:Ljava/util/List;,"Ljava/util/List<Lcom/netease/newsreader/bean/PhotosetListInfo;>;"
    .end local v16           #resetphotosetlist:Ljava/util/List;,"Ljava/util/List<Lcom/netease/newsreader/bean/PhotosetListInfo;>;"
    :cond_c
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/netease/newsreader/activity/NewsReader$45;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v1

    const/16 v2, 0x2b

    invoke-virtual {v1, v2}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_1
.end method
